f9fdaacf02591a9cf867c706be24c5a89cf68fcb,src/com/musicott/task/TaskPoolManager.java,TaskPoolManager,parseItunesLibrary,#String#number#boolean#boolean#,59
Before Change
itunesThread.start();
LOG.debug("Parsing Itunes Library: {}", path);
}
else if(itunesImportTask.isRunning()) {
//TODO notify the user to wait until the current import is ended
}
}
After Change
itunesThread.start();
LOG.debug("Parsing Itunes Library: {}", path);
}
else if(itunesImportTask.isRunning()) {
Alert alert = new Alert(AlertType.INFORMATION);
alert.getDialogPane().getStylesheets().add(getClass().getResource("/css/dialog.css").toExternalForm());
alert.setContentText("There is already an import task running.");
alert.showAndWait();